<h2>View agreement</h2>
<%= render 'form' %>

<%= link_to image_tag("back-icon.png", :border => 0) , agreements_path , {:class => 'form-command'}%>
<% if can? :update, Agreement %>
<%= link_to image_tag("edit-icon.png", :border => 0) , edit_agreement_path(@agreement) , {:class => 'form-command'} %>
<% end %> 